/**
 * 
 */
package test;


import junit.framework.TestCase;
import misc.Mail;

/**
 * @author Werner Flatz
 *
 */
public class MailClient extends TestCase {

	@Override
	protected void setUp() throws Exception {
		super.setUp();
	}
	
	public void testSendMail() {
		
		StringBuffer content, subject;
		String smtpserver, sender, recipient, username, password;
		
		subject = new StringBuffer("Test");
		content = new  StringBuffer("Content ...");
		smtpserver = "email.aon.at";
		sender = "wenrer.flatz@aon.at";
		recipient = "werner.flatz@gmail.com";
		username = "aon.912302569";
		password = "weflaon";
		
		Mail.sendMail(content, subject, sender, recipient, smtpserver, username, password);
	}

}
